package com.poposchool.project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Menu {
    private Integer id;

    private String name;

    private String path;

    private String icon;

    private String description;

    private List<Menu> children;

    //父级id
    private Integer pId;

    private String pagePath;
}